import request from '@/utils/request'

// 医生审核
export function auditDoctorAuth(doctorId: number, data: {
  authStatus: string
  rejectReason?: string
}) {
  return request({
    url: `/system/auth/audit/${doctorId}`,
    method: 'put',
    params: data
  })
}

// 获取医生认证信息
export function getDoctorAuthInfo(doctorId: number) {
  return request({
    url: `/system/auth/${doctorId}`,
    method: 'get'
  })
}